package com.chalk.common.pay.ali;

/**
 * @author xiaoqiang
 * @Description 阿里支付工具类
 * @date 2019/1/19 10:33
 */
public class AliPayUtil {
    //合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
//    public static String PID = "2088122030781583";

     // 沙箱
//    public static String APP_ID ="2016092700605407";
////     沙箱 商户的私钥,需要PKCS8格式，RSA公私钥生成：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
//    public static String APP_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCcrbdUAXbWYSsD1Hf45NwY2PNfoBkxSDVk2K6Na8Jqe9PtcXp1zF3p++af+z3T7i1AzeGL2U0GgVfzm6EVRkRs25Zuy7o1ZkOch3yQOIH8W8BuZL2Asvj3rwwcRuGLC5pQkPeR5bDZrczQw3JP1BqNB/FCcq0dGfjGCUBN/QAQzlauVtoejGoKsINyJTNGyRo5z74AC9jKvctITZoeCaixtCkRFAqyfdFti9lXr/oc/G3uigBkW+s5K1LXeeBNtFVRt75lKFr5Q6wHsv2q18TM5fbCCqdv04+FbaBZXmRX91UDP9hzQ1geV1uDoG919a8m1viQ8fe07FAdB89eXh8xAgMBAAECggEARvhRUJYRNG5zQ5rcdTuFjyPGqgwlHTOuK+4SszCasg1BJA8A/5cA+1oFT3ZIvVTn3rDjd6uIvmecZVabkr1vhTe6Xpmd0U5vVdnxTIqsJpmRAvBS/pcTO25pN+3LgGZTEid4XPgEMbYOTooZn5teI3/zgrvbOpFnJJ1QKYNuoi1+Vw7tCbhD9ildaZhpHxht5Mklc1GJjpwbK6ots9NWRAUJBet4Eotd/5wrFWwsarTwgdfcwY4P0G/GM67taLzU0Pbp3bnGFoonbyogXg9AwNpRJQeLh2dbt87nevc0tNwVCKQfJlu3FBMtoXIAntpjW6XNRioJs20obzkyOba8GQKBgQDhVNIddnvlPEKGAmcC4kxVql1Z/xiRvKvzyhWJjAPMvWVk3Q7VIHjCpffLZnNlgDudQp/E0iFASvJ6SR5+ZsSYXrQA1jYoJRdi3hmpAwT9e8MS/mihKrg3TiSMUgEPqP/a7zhX2mHp/qjNxMcDbmnFKJtPZ0lFpSPSIf3BoqxUHwKBgQCyANb86fjXVJnwgpQQsksWXtpATEt0csL9UW8FDJtf0IsE46CAxJxPlgsAmLaWqDpltwlFwIfjiBINLpLXB9ePti+lBwHB0pEhXKMdJwq4sL7Wux/E19sAvtNjuqkQ5sWU6JuxJNWEaK/d9PCMxkZEoHM5KOfxMOPu/4bXgAuirwKBgE3DMPP8BMvanPaUc6paII/byHWbhIYe/5SVpBMg39rTbd9+LnU8zJAYKMjoJWDc/TXLXUnWXqVKeB3diAmFO8l9vU8gnfYCvuxey6o5IYq9IFg4tjEQhhyH+jL2xej6oLmUnvQqqGnReb3xb+DuRNBGsDqZ4X6IfDEzi9g8ZI5vAoGBAIYNQdroLUGk8eWBwRYt34RyXHTtwClrP9NcH3qy+tQWjotZDYfMCVeaTKDfYSpmeMwfIvmHvA6ra8THnUgZHMqazpi+hSE9fZSdWi3bOCTM3nuCIrOwR7rw+utxKF+VG5k/7/hhH/d+i2thSkMKEuMd3oheeQZX5mAXyanDQX/7AoGAAqT1+Zjy3XfJYRDIjLZ/FXq1BXi02aIKMODdH7QwLU2eheYCA3Lm2UMAcpQ83zzwnS/W4eJpYM0HvNwJ+C+Q2t5gPWbWCC0izsTkzt1CEf9ENiDjk3nwLwBZCVgc90oqBtdLyznHaynpCe6Yvd+9Ne4bcqZBH5AiYEoCG3/L/D8=";
////    支付宝的公钥，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
//    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvVFksT3oC2wqMIbfCHdTB4sRKyNFJpXoNwSGEhrYLs35raqAjSe8q3jhbY63x70Cu1bXdcPwNq3X0yiSlV342gw5Xnm+LzczZ9EFT2wJWwnTp3IzMithot13Cep4Ph4RyNKQR2v0tncJctf1MA2gKjIoEXTpbUJQS1n2G07o4xYkAvibEMNfkU6ekeDKLF21qnrdneiCZD33IxuRDaGKkwj0JzW5QBu0UTDBqfETxsYxF1tGUc7eGPnL/Xe5MLUnRXghaNZIyMDyDk9lz4ZEAx56HubIEPsatUF88TlsQF7R5GPWTqCC+Pk/eJ9E11/vXlglGXmKWJT6CVfp0bB5mwIDAQAB";

    // 测试d
    public static String APP_ID ="2019042264251446";
    public static String APP_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCjxE/eQLQim0/k5ihzbMlvt7m/nE6zmEn8nIKwT5+bug3PYejwhbOPOxEChCWKM7nh2wpnaLYDPpaybMtXq8itRa7GltLYG7Gko8WJz+uYWELoLdoMR1g9mt++psMGlTz3vDaFtX3vJerWT1IeWgpiJG9yJ4WdxkYFq+Tl6j6oAugdVTyVvCn64wLf8fuub42Z5w/mRd0Q7zmY6QgqrBPj8EYkNMZyeUe7JN/35uw48QPLDP8sK7ucFhNqjfy1TU9rxJx84eWQK0CWIoFZQGy3dnuU8Z/jZjNja1RNY9uavaydl4rree534pw2tMqQ7MoOVh0DJKb9D5JurObnjfsdAgMBAAECggEAIiBxqFYBc8i7wG559XuxCnfV3GkdOW291UdkMIuXLiN6Z0H3AdBK18kuRUD2dbNLxBYaN+xpKYnsa2gig7WHjxwbTMT3UROMVEvQiWRrqwaRgsKzUqW3bLcOczNbJs8IsnNlRT3J7YEQS/KhoTOQQF1pX/d+b592zg3BGGxU/DuwMhi5Ia5G9h9+Sn9mrMyGUVa4PlYJtfzpZykntPsUJrpBPBISa66E0xwNCS7PPH9I7Qxwqn0yzcCucCSd5q25ZIcmnju8DHJdP5W/VCmH1p5GAW3Q1xhYo7nRUmSF2aLKJShtaBRygaENlPKrN/ryRfXTlMfZWQ1xjeMqVRZofQKBgQDzvX+t+y+HU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AY9CF4Up9AMI1OOPlsJPnK89a17Np73teaQozNH33k/mkd6G7JVKadD2nXRaEST8BjX8mTJTpwqQZmBlohaGBCmtn1MSvxu+OgpxzaGlexTRy6uT1HaXLEYn5Jh7UUXIn2JsPtZkSTkGGnmTvp19KpXxnqyElkPhN3PRKe0GvztqbspB+v2l5STmo0JnNRCgQIDAQAB";

    // 签名方式
    public static String SING_TYPE = "RSA2";

    public static String PATH = "https://1chalk.com/mall-app/";
//      public static String PATH = "http://xiaoqiangge.51vip.biz:29429/";
    // 代币充值回调地址
    public static String NOTIFY_URL = PATH +"ignoreAuth/alipayNotifyUrl";
//    public static String NOTIFY_URL = "http://xiaoqiangge.51vip.biz/ignoreAuth/alipayNotifyUrl";
}
